# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-pybars3
pkgver=0.9.7
pkgrel=5
pkgdesc="implementation of the handlebars.js template language for Python 3"
url="https://github.com/wbond/pybars3"
arch="noarch"
license="LGPL-3.0-only"
depends="
	python3
	py3-pymeta3
	"
makedepends="
	py3-setuptools
	"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/pybars3/pybars3-$pkgver.tar.gz"
builddir="$srcdir/pybars3-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 tests.py
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
7aff86c0703e3827909f3603d7f35026ee39ce74d9c5ff1beb18a71b0a839c3aa407402f8d9c1aca9eb69af33750db0477881826e72135fc26a7274b0f1f538b  pybars3-0.9.7.tar.gz
"
